aboutsummaryrefslogtreecommitdiff
path: root/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenTryTests]/[method:canGenerateCodeForTry(org.shedlang.compiler.testing.snapshots.Snapsho...
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2023-11-19 15:47:38 +0000
committerMichael Williamson <mike@zwobble.org>2023-11-19 15:49:28 +0000
commitb99b938b2f33e4d12d63629f3d80e987c31d1892 (patch)
tree5057bba7084240792bfa23520ea18d66564b7cdd /snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenTryTests]/[method:canGenerateCodeForTry(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
parent303f428e78cf44f10032e55a69d5d5cd00f5d715 (diff)
Implement basic effect handling in the runtime
Diffstat (limited to 'snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenTryTests]/[method:canGenerateCodeForTry(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected')
-rw-r--r--snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenTryTests]/[method:canGenerateCodeForTry(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected4
1 files changed, 2 insertions, 2 deletions
diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenTryTests]/[method:canGenerateCodeForTry(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenTryTests]/[method:canGenerateCodeForTry(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
index a70227a9..0429c8c6 100644
--- a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenTryTests]/[method:canGenerateCodeForTry(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
+++ b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenTryTests]/[method:canGenerateCodeForTry(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
@@ -3,7 +3,7 @@ Compilation unit elements:
(
function-decl
"shed__runtime__effects_push_handler"
- params=((param "effectTag" int))
+ params=((param "effectTag" int) (param "methodCount" int))
return-type=data-ptr
)
(
@@ -26,7 +26,7 @@ Locals:
Instructions:
(
- (call (local "effectHandler__0") "shed__runtime__effects_push_handler" ((int 0)))
+ (call (local "effectHandler__0") "shed__runtime__effects_push_handler" ((int 0) (int 3)))
(call _ "shed__runtime__effects_set_handler_method" ((local "effectHandler__0") (int 0) (local "handlerC")))
(call _ "shed__runtime__effects_set_handler_method" ((local "effectHandler__0") (int 1) (local "handlerA")))
(call _ "shed__runtime__effects_set_handler_method" ((local "effectHandler__0") (int 2) (local "handlerB")))